# start up the game

from google.appengine.ext import webapp
from google.appengine.ext.webapp.util import run_wsgi_app
from core.support import build_route, default_route

# define our routes
game_routes = [
               build_route('restart','RestartHandler'),
               build_route('grad_lounge','Grad_LoungeHandler'),
               build_route('vending_machine','Vending_MachineHandler'),
               build_route('stairs','StairsHandler'),
               build_route('sixth_floor','SixthFloorHandler'),
               build_route('lubin_office','Lubin_OfficeHandler'),
               build_route('elevator','ElevatorHandler'),
               build_route('rooftop','RooftopRoomHandler'),
               build_route('victory_screen','VictoryScreenHandler'),
               default_route('grad_lounge','Grad_LoungeHandler'),
               ]

application = webapp.WSGIApplication(game_routes, debug=True)


def main():
    run_wsgi_app(application)

if __name__ == "__main__":
    main()
